<div id="rightsidebar">

<h2>Recent</h2><%# could be link to recent items, so users can pass it around%>
<div id="recent" >
<%= render :partial=>"layouts/recent" %>
</div>

<div id='recent_spinner' style='display:none; float:right;'>loading ...</div>

<%= drop_receiving_element('recent',
		:accept => 'list_item',
		:complete => "$('recent_spinner').hide();" ,
		:before => "$('recent_spinner').show();" ,
		:hoverclass => 'hover',
		:with => "'list_item=' + encodeURIComponent(element.id.split('_').last())" ,
		:url => {:controller=>'artifacts',:action=>'add_recent'})%>

<% if @righthand_components %>
<% for component in @righthand_components %>
  <%= render_component(component) %>
<% end %>
<% end %>
</div> <!-- id="rightsidebar" -->